package com.ibm.csorb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ibm.csorb.dao.CsBucketDao;
import com.ibm.csorb.entity.CsBucket;
import com.ibm.csorb.service.CsBucketService;

@Service
@Transactional
public class CsBucketServiceImpl implements CsBucketService {

	CsBucketDao csBucketDao;

	@Override
	public boolean add(CsBucket csBucket) {
		System.out.println("in service impl....");
		csBucketDao.findAll();
		return false;
	}

	public CsBucketDao getCsBucketDao() {
		return csBucketDao;
	}

	@Autowired
	public void setCsBucketDao(CsBucketDao csBucketDao) {
		this.csBucketDao = csBucketDao;
	}

}
